package com.newcoder.community.dao;

import org.springframework.stereotype.Repository;

@Repository("alphaHibernate")//bean默认的名字是类名。其中首字母小写，取别名在注解后面加括号并用双引号包裹
public class AlphaDaoHibernateImpl implements AlphaDao {
    @Override
    public String select() {
        return "Hibernate";
    }
}
